package com.gem.day4;

public class Hospital {
	public void cure(Dog dog){
		dog.setHealth(65);
		System.out.println(dog.getpName()+" have restored health!!");
	}
	public void cure(Cat cat){
		cat.setHealth(65);
		System.out.println(cat.getpName()+" have restored health!!");
	}
	
}
